package com.test.springcloud.dao;

import com.test.springcloud.entities.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @create: 2019-07-02 16:16
 **/
@Mapper //springboot整合mybatis时注意加上@mapper注解
public interface DeptDao {
    boolean addDept(Dept dept);


    Dept findById(Long id);


    List<Dept> findAll();
}
